package com.tfos.study.mvc.content.negotiating.controller;

import com.tfos.study.mvc.content.negotiating.entity.Organization;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;

/**
 * 类功能说明：SpringBoot2.x之内容协商ContentNegotiatingViewResolver视图解析器测试控制器 <br/>
 * 公司名称：TF（腾飞）开源 <br/>
 * 作者：luorongxi <br/>
 */
@Controller
public class TestMvcContentNegotiatingViewResolverController {

    @GetMapping(value = "/getorg")
    public Organization getOrg() {
        Organization org = new Organization(
                1,
                "腾飞开源",
                "13800138000",
                "492699405@qq.com",
                "TF（腾飞）开源，致力于原创软件开源，提供基于JAVA的基础平台及解决方案，团队成员有丰富的智能设备和物联网平台相关经验，欢迎您的关注。",
                new Date(),
                new Date()
        );
        return org;
    }
}
